package com.endoc.news.netWoke.bean;

import androidx.annotation.NonNull;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


import java.util.List;

/**
 * Created by Allen on 2017/7/20.
 * 保留所有版权，未经允许请不要分享到互联网和其他人
 */
public class NewsChannelsBean extends TecentBaseResponse {

    @SerializedName("showapi_res_body")
    @Expose
    public ShowapiResBody showapiResBody;

    public class ChannelList {
        @Override
        public String toString() {
            return "ChannelList{" +
                    "channelId='" + channelId + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }

        @SerializedName("channelId")
        @Expose
        public String channelId;
        @SerializedName("name")
        @Expose
        public String name;
    }

    public class ShowapiResBody {
        @Override
        public String toString() {
            return "ShowapiResBody{" +
                    "totalNum=" + totalNum +
                    ", retCode=" + retCode +
                    ", channelList=" + channelList +
                    '}';
        }

        @SerializedName("totalNum")
        @Expose
        public Integer totalNum;
        @SerializedName("ret_code")
        @Expose
        public Integer retCode;
        @SerializedName("channelList")
        @Expose
        public List<ChannelList> channelList = null;
    }

    @Override
    public String toString() {
        return "NewsChannelsBean{" +
                "showapiResBody=" + showapiResBody +
                ", showapiResCode=" + showapiResCode +
                ", showapiResError='" + showapiResError + '\'' +
                '}';
    }
}
